.reward {
  display: flex;
  align-items: center;
  width: 156px;
  min-width: 156px;
  height: 113px;
  color: #f8611f;
  background: url('./images/ldxbg-small.png') no-repeat center / 100% 100%;
  cursor: pointer;

  .text {
    display: flex;
    align-items: baseline;
    justify-content: center;
    width: 90px;
    height: 30px;
    margin-left: 39px;
    font-weight: 600;
    font-size: 22px;
    line-height: 30px;
    .unit {
      margin-right: 3px;
      font-size: 14px;
    }
  }
}

.mask {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 11;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.7;
}

.close {
  position: absolute;
  bottom: -66px;
  left: 50%;
  width: 40px;
  height: 40px;
  background: url('./images/icon-close.png') no-repeat center / 100% 100%;
  transform: translateX(-50%);
  cursor: pointer;
}

// 邀请详情
.rewardInfo {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 11;
  width: 485px;
  transform: translateX(-50%) translateY(-50%);

  .main {
    position: relative;
    padding-bottom: 155px;
    background: url('./images/hb-bg.png') no-repeat center bottom / 100% 287px;

    .fz {
      position: absolute;
      bottom: 21px;
      left: 127px;
      width: 232px;
      height: 54px;
      background-color: transparent;
      cursor: pointer;
    }
  }

  .header {
    display: block;
    width: 417px;
    height: 28px;
    margin: 0 auto -2px auto;
    background: url('./images/header-bg.png') repeat-y center / 100% 100%;
  }

  .body {
    width: 417px;
    min-height: 255px;
    margin: 0 auto;
    background: url('./images/body-bg.png') repeat-y center / 100% 4px;

    .title {
      display: block;
      width: 291px;
      height: 22px;
      margin: 0 auto;
    }

    .des {
      height: 20px;
      margin: 20px auto 60px auto;
      color: #b5988c;
      font-weight: 600;
      line-height: 20px;
      text-align: center;
    }

    .tips {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 310px;
      height: 25px;
      margin: 30px auto 0 auto;
      color: #f8611f;
      font-size: 12px;
      background: rgba(248, 97, 31, 0.1);
      border: 1px solid rgba(248, 97, 31, 0.1);
      border-radius: 13px;

      .icon {
        width: 16px;
        height: 15px;
        margin-right: 1px;
        background: url('./images/icon-wx.png') no-repeat center / 100% 100%;
      }
    }
  }

  .rmb1 {
    position: absolute;
    bottom: 62px;
    left: -101px;
    width: 176px;
    height: 184px;
    background: url('./images/rmb1.png') no-repeat center / 100% 100%;
  }

  .rmb2 {
    position: absolute;
    right: -50px;
    bottom: 62px;
    width: 110px;
    height: 120px;
    background: url('./images/rmb2.png') no-repeat center / 100% 100%;
  }

  .rmb3 {
    position: absolute;
    bottom: 80px;
    left: 9px;
    width: 67px;
    height: 70px;
    background: url('./images/rmb3.png') no-repeat center / 100% 100%;
  }
}

.rewardSuccess {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 11;
  width: 258px;
  height: 252px;

  padding: 36px 0 0 0;
  background: url('./images/successbg.png') no-repeat center / 100% 100%;
  transform: translateX(-50%) translateY(-50%);

  .fz {
    position: absolute;
    bottom: 19px;
    left: 14px;
    width: 232px;
    height: 54px;
    background-color: transparent;
    cursor: pointer;
  }

  .title {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 600;

    .num {
      margin: 0 5px;
      padding: 0 7px;
      background-color: #fee500;
    }
  }

  .tips {
    margin-top: 8px;
    margin-bottom: 6px;
    color: #c3927d;
    font-weight: 600;
    text-align: center;
  }
  .money {
    color: #f8611f;
    font-weight: 600;
    font-size: 30px;
    line-height: 42px;
    text-align: center;
    .text {
      position: relative;
      .unit {
        position: absolute;
        top: -12px;
        right: -7px;
        font-size: 12px;
      }
    }
  }
}

.step {
  .wraper {
    display: flex;
    flex-wrap: wrap;
    width: 350px;
    margin: 0 auto -50px auto;

    .item {
      position: relative;
      width: 25%;
      margin-bottom: 60px;

      &.actived {
        .line {
          background-color: #f8611f;
        }

        .index {
          border-color: #f8611f;
        }
      }

      .momey {
        position: absolute;
        top: -37px;
        left: 50%;
        display: flex;
        align-items: baseline;
        justify-content: center;
        padding: 0 5px;
        color: #fff;
        font-size: 16px;
        background: #f8611f;
        border-radius: 12px;
        transform: translateX(-50%);

        .unit {
          font-size: 12px;
        }

        .icon {
          position: absolute;
          bottom: -7px;
          left: 50%;
          width: 8px;
          height: 7px;
          background: url('./images/icon-red-arrow.png') no-repeat center / 100% 100%;
          transform: translateX(-50%);
        }
      }

      .index {
        position: relative;
        z-index: 1;
        display: block;
        width: 18px;
        height: 18px;
        margin: 0 auto;
        color: #f8611f;
        font-size: 12px;
        line-height: 16px;
        text-align: center;
        background-color: #fff;
        border: 2px solid #e5e5e5;
        border-radius: 50%;

        .avatar {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 100%;
          height: 100%;
          color: #f8611f;
          font-weight: 600;
          font-size: 12px;
          background-position: center;
          background-size: cover;
          border-radius: 50%;
        }
      }

      .line {
        position: absolute;
        top: 8px;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #e5e5e5;
      }

      .yqindex {
        margin-top: 13px;
        color: #f8611f;
        font-size: 12px;
        text-align: center;
      }

      .tx {
        width: 100%;
        height: 17px;
        margin-top: 4px;
        color: #254df8;
        font-weight: 400;
        font-size: 12px;
        font-family: PingFangSC-Regular, PingFang SC;
        line-height: 17px;
        text-align: center;
        cursor: pointer;
        &:hover {
          text-decoration: underline;
        }
      }
    }
  }
}

.invitedReward {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 11;
  width: 508px;
  height: 171px;
  background: url('./images/拉新领取.png') no-repeat center / 100% 100%;
  transform: translateX(-50%) translateY(-50%);
  .main {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 0 0 60px;
    .num {
      width: 125px;
      color: #f65435;
      font-weight: normal;
      font-size: 80px;
      font-family: HelveticaNeue-CondensedBlack, HelveticaNeue;
      text-align: center;
      background: linear-gradient(121deg, #fa6543 0%, #d82c24 100%);
      -webkit-background-clip: text;
      -webkit-text-stroke: 1px #ff5e50;
      text-stroke: 1px #ff5e50;
      -webkit-text-fill-color: transparent;
    }
    .line {
      width: 1px;
      height: 50px;
      margin: 0 7px 0 19px;
      border: 1px solid #4c4b49;
    }
    .title {
      display: flex;
      flex-direction: column;
      .img {
        width: 105px;
        height: 26px;
        background: url('./images/拉新领取文字.png') no-repeat center / 100% 100%;
      }
      .subtitle {
        height: 20px;
        margin-top: 9px;
        color: #4c4b49;
        font-size: 14px;
      }
    }

    .button {
      flex: 1;
      height: 100%;
      cursor: pointer;
    }
  }
}
